﻿using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace SistemaAdministracion.Models.BaseClass
{
    [Table("finiquito",Schema="contrato")]
    public class Finiquito
    {
        public Finiquito()
        {
            this.DetalleFiniquito = new HashSet<DetalleFiniquito>();
        }

        [Column("idfichaempleado")]
        public int IdFichaEmpleado { get; set; }
        [Column("idvigcontrato")]
        public int IdVigContrato { get; set; }
        [Column("idfiniquito")]
        public int IdFiniquito { get; set; }
        [Column("fechafiniquito")]
        public DateTime FechaFiniquito { get; set; }
        [Column("monto")]
        public float Monto { get; set; }


        public virtual VigContrato VigContrato { get; set; }
        public virtual ICollection<DetalleFiniquito> DetalleFiniquito { get; set; }
    }
}
